Given(/^I am on "([^"]*)" page$/) do |url|
  visit url
end
When(/^I click on "([^"]*)" button$/) do |button|
  click_on(button)
end
When(/^I enter "([^"]*)" into "([^"]*)"$/) do |text, element|
  fill_in element,:with =>text
end
Then(/^I should see "([^"]*)"$/) do |text|
  page.should have_text(text),"error"
end
